<?php

namespace app\service;

//宠物服务层
use app\model\Pet;

class PetService extends Base
{

    //获取所有宠物信息
    public function list()
    {
        $pets = (new Pet)->select();
        return apiSuccess($pets);

    }

}